package designPattern.decorator.decorators
{
	import designPattern.decorator.AComponent;
	import designPattern.decorator.ADecorator;
	
	public class Decorator_A extends ADecorator
	{
		private var aCom:AComponent;
		public function Decorator_A(component:AComponent)
		{
			aCom = component;
		}
		
		override public function getAttribute():Array
		{
			var temArr:Array = aCom.getAttribute();
			temArr.push("attribute_A");
			return temArr;
		}
	}
}